package com.chushouya.product.dto.admin.product.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("sku评估选项配置")
public class SkuEvaluateDetailDTO {

    @ApiModelProperty("sku规格")
    private String skuName;

    @ApiModelProperty("基础价")
    private BigDecimal basePrice;

    @ApiModelProperty("最低回收价")
    private BigDecimal minPrice;

    @ApiModelProperty("估价扣减规则, EvaluateCalcTypeEnum")
    private Integer calcType;

    @ApiModelProperty("估价扣减规则, EvaluateCalcTypeEnum")
    private String calcTypeDesc;

    @ApiModelProperty("sku评估项目列表")
    private List<SkuEvaluateItemDTO> skuEvaluateItemList;

    @ApiModelProperty("特殊扣减组合数量")
    private Integer skuEvaluateComboCount;

//    public String getCalcTypeDesc() {
//        return EvaluateCalcTypeEnum.getDesc(calcType);
//    }

}
